/*
@author https://yunp.top
 */
@file:JsQualifier("starling.display")

package starling.display

import starling.rendering.VertexDataFormat
import starling.styles.MeshStyle
import starling.textures.Texture

open external class Mesh : DisplayObject {
    companion object {
        var defaultStyle: JsClass<*>
        var defaultStyleFactory: (mesh: Mesh) -> MeshStyle
    }

    var color: Long
    val numIndices: Int
    val numTriangles: Int
    val numVertices: Int
    var pixelSnapping: Boolean
    var style: MeshStyle
    var texture: Texture
    var textureRepeat: Boolean
    var textureSmoothing: String
    val vertexFormat: VertexDataFormat
}